Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 11 |
Ratio | 100 % |
Changes | 0 |
1 | View Code Duplication | const DB = require('../libraries/db') |
|
21 | getUser: async function (uid) { |
||
22 | |||
23 | let user = DB.readMysql.first( |
||
24 | '*' |
||
25 | ) |
||
26 | .from(table) |
||
27 | .where('id', uid) |
||
28 | |||
29 | return await user |
||
30 | |||
31 | }, |
||
32 | |||
45 | } |